package com.ruoyi.yjgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警记录对象 tb_yjgl_bjjl
 * 
 * @author ruoyi
 * @date 2023-11-11
 */
public class TbYjglBjjl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 企业 */
    @Excel(name = "企业")
    private String qy;

    /** 能源类型 */
    @Excel(name = "能源类型")
    private String nylx;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 监控时间段 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监控时间段", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jksjd;

    /** 监控时间点 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监控时间点", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sjd;

    /** 监控采集值 */
    @Excel(name = "监控采集值")
    private Long jkcjz;

    /** 预警值 */
    @Excel(name = "预警值")
    private Long yjz;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String jldw;

    /** 处理人 */
    @Excel(name = "处理人")
    private String clr;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clsj;

    private String bz;

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQy(String qy) 
    {
        this.qy = qy;
    }

    public String getQy() 
    {
        return qy;
    }
    public void setNylx(String nylx) 
    {
        this.nylx = nylx;
    }

    public String getNylx() 
    {
        return nylx;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setJksjd(Date jksjd) 
    {
        this.jksjd = jksjd;
    }

    public Date getJksjd() 
    {
        return jksjd;
    }
    public void setSjd(Date sjd) 
    {
        this.sjd = sjd;
    }

    public Date getSjd() 
    {
        return sjd;
    }
    public void setJkcjz(Long jkcjz) 
    {
        this.jkcjz = jkcjz;
    }

    public Long getJkcjz() 
    {
        return jkcjz;
    }
    public void setYjz(Long yjz) 
    {
        this.yjz = yjz;
    }

    public Long getYjz() 
    {
        return yjz;
    }
    public void setJldw(String jldw) 
    {
        this.jldw = jldw;
    }

    public String getJldw() 
    {
        return jldw;
    }
    public void setClr(String clr) 
    {
        this.clr = clr;
    }

    public String getClr() 
    {
        return clr;
    }
    public void setClsj(Date clsj) 
    {
        this.clsj = clsj;
    }

    public Date getClsj() 
    {
        return clsj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qy", getQy())
            .append("nylx", getNylx())
            .append("state", getState())
            .append("jksjd", getJksjd())
            .append("sjd", getSjd())
            .append("jkcjz", getJkcjz())
            .append("yjz", getYjz())
            .append("jldw", getJldw())
            .append("clr", getClr())
            .append("clsj", getClsj())
            .toString();
    }
}
